import 'package:flutter/material.dart';
import 'package:flutter_study/widget/whell_view.dart';

class IndexPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('体验自定义view'),
      ),
      body: Container(
        child: ListView(
          children: [
            FractionallySizedBox(
              child: Center(child: CakeView()),
            )
          ],
        ),
      ),
    );
  }
}
